{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$tesk.title.val}-{$seo_title}</title>
    <include file="Index:mate" />
 
 
</head>

<body>
    <i class="goTop"></i>
    <div class="m-header">
        <a href="index.php?g=Mobile&a=details&oid={$oid}&pid={$pid}&cid={$cid}" class="pull-right fh"></a>
        <a 
        <if condition="$kid != 0">
            href="index.php?g=Mobile&a=material_details&oid={$oid}&kid={$kid-1}" 
        </if>
        >&lt;</a>
        <span>
            任务{$kid+1}
        </span>
        <a  <if condition="$kid lt count($rw)-1">
                href="index.php?g=Mobile&a=material_details&oid={$oid}&kid={$kid+1}" 
            </if>>&gt;</a>
    </div>
    <div class="material-menu">
        <a class="icon icon-bars"></a>
        <div class="material-menu-list">
            <section>
                <h2>相关资源</h2>
                <!-- cell -->
                <volist name="tesk.xgzy.val" id="vo">
                    <a class="text-ellipsis" href="{$vo.url}" target="_target">{$vo.title}</a>
                </volist>
                <!-- cell end -->
            </section>
        </div>
    </div>
    <section class="material-text container">
        <div id="taskPage1">
            <h2>{$tesk.title.val}</h2>
            <div>
                {$tesk.wbbj.val}
            </div>
        </div>

    </section>


    <include file="Index:footer" />
    <script>
        $(".material-menu").on("click", "a", function () {
            var o = $(this).parent();
            if (o.hasClass("active")) {
                o.removeClass("active")
            } else {
                o.addClass("active")
            }
        })
    </script>
</body>

</html>